﻿<%@ Page Language="C#" AutoEventWireup="True" Inherits="Fjaspx.UI.Web.Administrator_caiye_admin" ValidateRequest="false" Codebehind="admin.aspx.cs" %>


<%@ Register src="../top.ascx" tagname="top_help" tagprefix="uc1" %>


<html>
       
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link href="/administrator/images/style.css" rel="stylesheet" type="text/css">
</head>
<script language="JavaScript"  src="/administrator/js/alt.js"></script>
<script language = "JavaScript">
function CheckAll(form)
  {
  for (var i=0;i<form.elements.length;i++)
    {
    var e = form.elements[i];
    if (e.Name != "chkAll"&&e.disabled==false)
       e.checked = form.chkAll.checked;
    }
}
</script>
<body><uc1:top_help ID="top_help2" runat="server" />
<table width="100%" border="0" cellspacing="0" cellpadding="10">
  <tr>
    <td><form runat="server">
      
      <table width="100%" border="0" cellspacing="0" cellpadding="0" style="margin-bottom:10px">
        <tr>
          <td><img src="/administrator/images/cms-ico2.gif" width="16" height="16" align="absmiddle"> 筛选：
            <asp:DropDownList ID="DdlMenu" runat="server" CssClass="enfont2 input" 
                  Width="200px" AutoPostBack="True" 
                  onselectedindexchanged="DdlMenu_SelectedIndexChanged"></asp:DropDownList>
          </td>
          <td align="right"><table border="0" cellpadding="0" cellspacing="0">
              <tr>
                <td><img src="/administrator/images/cms-ico7.gif" width="12" height="11" align="absmiddle"> 关键词搜索： </td>
                <td><input name="keywords" id="keywords" type="text" class="input" style="width:120px;height:21px" title="输入新闻标题关键词进行搜索！" runat="server"></td>
                <td align="right" width="40"><input name="Submit" type="submit" class="bt" id="Submit" value="搜索" runat="server">
                </td>
              </tr>
          </table></td>
        </tr>
      </table>
      <table width="100%" height="79" border="0" align="center" cellpadding="5" cellspacing="1" bgcolor="#CCCCCC">
        <tr>
          <td width="23" height="25" nowrap bgcolor="#DDE9FF"></td>
          <td width="28" nowrap bgcolor="#DDE9FF"><span class="line">编号</span></td>
          <td width="25" nowrap bgcolor="#DDE9FF"><span class="line">分类</span></td>
          <td bgcolor="#DDE9FF"><span class="line">图片产品标题</span></td>
          <td width="43" nowrap bgcolor="#DDE9FF"><span class="line">作者</span></td>
          <td width="130" nowrap bgcolor="#DDE9FF"><span class="line">录入日期</span></td>
          <td width="65" nowrap bgcolor="#DDE9FF"><span class="line">置顶 | 推荐</span></td>
          <td width="34" nowrap bgcolor="#DDE9FF"><span class="line">状态</span></td>
          <td width="143" align="center" nowrap bgcolor="#DDE9FF"><span class="line">操作</span></td>
        </tr>
        
        
            <asp:Repeater ID="Repeater_admin" runat="server">
          <ItemTemplate>
            <tr>
              <td height="25" nowrap bgcolor="#F4FBFF"><asp:CheckBox ID="ID_list" runat="server" /></td>
              <td nowrap  bgcolor="#F4FBFF"><asp:Label ID="Label_id" runat="server" Text='<%#Eval("bh") %>'></asp:Label>
              </td>
              <td nowrap bgcolor="#F4FBFF"><a href='admin.aspx?class=<%#Eval("classname") %>'> <img src="/administrator/images/tree.gif" border="0" title='<%#Eval("classname") %>'></a> </td>
              <td  bgcolor="#F4FBFF" title='<%#Eval("title") %>' valign="middle" target="_blank" >
              
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="30px" valign="middle">
    <a href='../../App_Product/<%#Eval("author")%>/s_<%#Eval("pic")%>' title='<%#Eval("title") %>' target="_blank"> 
              <img src='../../App_Product/<%#Eval("author")%>/<%#Eval("pic")%>' width="26px" height="26px" border="0" /> 
              </a> 
</td>
    <td width="98%" valign="middle">
                  <a href='all.aspx?id=<%#Eval("bh") %>' title='<%#Eval("title") %>'> 
              <%#Eval("title") %> 
              </a> 
    </td>
  </tr>
</table>

              </td>
              <td nowrap  bgcolor="#F4FBFF" title='<%#Eval("author") %>'><%#Eval("author")%></td>
              <td nowrap  bgcolor="#F4FBFF" title='<%#Eval("time") %>'><%#Eval("time") %></td>
              <td align="center" nowrap  bgcolor="#F4FBFF">
              <a href='?t=ding&id=<%#Eval("bh") %>&ding=<%#Eval("ding") %>'><b><font color="#FF3300" title="点击置顶"><%#Eval("ding").ToString().Trim()=="0"?"√":"X"%></font></b></a> 
              &nbsp;&nbsp;
               <a href='?t=tuijian&id=<%#Eval("bh") %>&tuijian=<%#Eval("tuijian") %>'><b><font color="#FF3300" title="点击推荐。"><%#Eval("tuijian").ToString().Trim()=="0"?"√":"X"%></font></b></a> 
              </td>
              <td align="center" nowrap bgcolor="#F4FBFF"><a href='?t=K&id=<%#Eval("bh") %>&K=<%#Eval("switchs") %>'><b><font color="#FF3300" title="点击关闭。"><%#Eval("switchs").ToString().Trim()=="0"?"√":"X"%></font></b></a> </td>
              <td align="center" nowrap bgcolor="#F4FBFF"><a href='all.aspx?id=<%#Eval("bh") %>'>详情</a> | <a href='edit.aspx?id=<%#Eval("bh") %>'>编辑</a> | <a href='?t=del&id=<%#Eval("bh") %>' onClick="return window.confirm('确定删除 [<%#Eval("title") %>] 吗?');">删除</a></td>
            </tr>
          </ItemTemplate>
        </asp:Repeater>
        
        
        <tr>
          <td height="25" colspan="9" bgcolor="#F4FBFF">
            

            
            <input name="chkAll" type="checkbox" id="chkAll" onClick="CheckAll(form)" value="checkbox" style="position:absolute;clip: rect(6 15 15 6)">
            <img src="/administrator/images/cms-ico12.gif" border="0">
            <asp:ImageButton ID="ImageButton_all_del" runat="server" ImageUrl="/administrator/images/cms-ico10.gif" onclick="ImageButton_all_del_Click" style="width: 63px"  OnClientClick="return window.confirm('确定删除多条记录吗?');" />      
            <asp:ImageButton ID="ImageButton1" runat="server" ImageUrl="/administrator/images/cms-ding.gif" onclick="ImageButton_ding_Click" style="width: 63px" />      
            <asp:ImageButton ID="ImageButton2" runat="server" ImageUrl="/administrator/images/cms-K.gif" onclick="ImageButton_K_Click" style="width: 63px" />                
            
            
            <center>
            
            <Script Language="JavaScript" type="text/JavaScript" src="/administrator/js/page.js"></Script>
            <script language="JavaScript">
<!--
var pg = new showPages('pg');
pg.pageCount =<% =pages %>;  // 定义总页数(必要)
pg.argName = 'page';  // 定义参数名(可选,默认为page)
//document.write('<br>Show Times: ' + pg.showTimes + ', Mood 1');
pg.printHtml(1);
//-->
      </script>
               总 [<% = pages*30 %>] 条数据
            </center>
            
            
          </td>
          </tr>
      </table>
      <table width="100%" border="0" cellpadding="0" cellspacing="0" >
        <tr>
          <td width="140" height="25" valign="top">  
          </td>
          
        </tr>
      </table>
    </form></td>
    </tr>
</table>
</body>
</html>